﻿@model CountryModel
<vc:admin-widget widget-zone="country_details_info_top" additional-data="Model" />
@(await Html.LocalizedEditor<CountryModel, CountryLocalizedModel>("country-info-localized",
    @<div class="form-horizontal">
        <div class="form-body">
            <div class="form-group">
                <admin-label asp-for="@Model.Locales[item].Name" />
                <div class="col-md-9 col-sm-9">
                    <admin-input asp-for="@Model.Locales[item].Name" />
                    <span asp-validation-for="@Model.Locales[item].Name"></span>
                </div>
            </div>
            <input type="hidden" asp-for="@Model.Locales[item].LanguageId" />
        </div>
    </div>
    ,
    @<div class="form-horizontal">
        <div class="form-body">
            <div class="form-group">
                <admin-label asp-for="Name" />
                <div class="col-md-9 col-sm-9">
                    <admin-input asp-for="Name" />
                    <span asp-validation-for="Name"></span>
                </div>
            </div>
        </div>
    </div>
    ))
<div class="form-horizontal">
    <div class="form-body">
        <div class="form-group">
            <admin-label asp-for="AllowsBilling" />
            <div class="col-md-9 col-sm-9">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AllowsBilling" />
                     <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AllowsBilling"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="AllowsShipping" />
            <div class="col-md-9 col-sm-9">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AllowsShipping" />
                     <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AllowsShipping"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="TwoLetterIsoCode" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="TwoLetterIsoCode" />
                <span asp-validation-for="TwoLetterIsoCode"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="ThreeLetterIsoCode" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="ThreeLetterIsoCode" />
                <span asp-validation-for="ThreeLetterIsoCode"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="NumericIsoCode" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="NumericIsoCode" />
                <span asp-validation-for="NumericIsoCode"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="SubjectToVat" />
            <div class="col-md-9 col-sm-9">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="SubjectToVat" />
                     <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="SubjectToVat"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="Published" />
            <div class="col-md-9 col-sm-9">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="Published" />
                     <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="Published"></span>
            </div>
        </div>
        <div class="form-group">
            <admin-label asp-for="DisplayOrder" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="DisplayOrder" />
                <span asp-validation-for="DisplayOrder"></span>
            </div>
        </div>
    </div>
</div>
<vc:admin-widget widget-zone="country_details_info_bottom" additional-data="Model" />